﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
//
using ddcCajamarca.BusinessEntities.AgendaCultural;
using ddcCajamarca.BusinessLogic.AgendaCultural;
using Microsoft.Practices.Unity;
using System.Web.ModelBinding;


namespace ddcCajamarca.Web.AgendaCultural
{
    public partial class GestionarTiposEventoFrm : System.Web.UI.Page
    {
        #region Dependencias
        [Dependency]
        public TipoEventoBL TipoEventoBL { get; set; }
        #endregion

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public IQueryable<TipoEvento> GetTipoEventos([Control("tbxCriterio")]string criterio)
        {
            return TipoEventoBL.GetTipoEventoByCriterio(criterio).AsQueryable();
        }

    }
}